package com.yx.modules.api.dao;

import com.yx.modules.api.entity.TbAttention;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 关注
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-08 17:10:44
 */
@Mapper
@Repository
public interface TbAttentionDao extends BaseDao<TbAttention> {

    TbAttention findByUserAndAuthor(@Param("userId") String userId,@Param("authorId") String authorId);

    Integer findTotalByUseruuid(String uuid);
}
